package com.gprcclient.feignapi;

import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import com.netflix.ribbon.proxy.annotation.Hystrix;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: LCG
 * @date: 2022-10-25 19:29:46
 * @description:
 **/
@Component
@FeignClient(name = "grpc-server1",fallback = TestFeignApiFailback.class)
public interface TestFeignApi {

    @RequestMapping("test02")
    public String test02(@RequestParam("id") String id,@RequestParam("id2") String id2);

}
